﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MapDefault.aspx.cs" Inherits="ZhangZhao.RenChangYou.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script type="text/javascript" src="Scripts/jquery-1.4.1.min.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <iframe id="mapframe" width="900" height="340px" style="border:none;">
        </iframe>
    </div>
    </form>
    <script type="text/javascript">
        $(document).ready(function () {
            var url = "BingMap.aspx?lat=<%=this.Lat %>&lng=<%=this.Lng %>";
            $("#mapframe", parent.document.body).attr("src", url);
        }); 
    </script>
</body>
</html>
